import request from '@/utils/request'

/**
 * 设置调度派单模式
 */
export function setOrderModel(params) {
  return request({
    url: '/server/order/setOrderModel',
    method: 'get',
    data: params
  })
}

/**
 * 外卖调度-骑手
 */
export function findShopper(params) {
  return request({
    url: '/server/shopper/findShopper',
    method: 'get',
    data: params
  })
}
/**
 * 外卖调度-订单
 */
export function orderSchedulingList(params) {
  return request({
    url: '/server/order/orderSchedulingList',
    method: 'get',
    data: params
  })
}
/**
 * 跑腿调度-订单
 */
export function paotuiOrderSchedulingList(params) {
  return request({
    url: '/server/order/paotuiOrderSchedulingList',
    method: 'get',
    data: params
  })
}
/**
 * 跑腿调度-骑手
 */
export function paotuiFindShopper(params) {
  return request({
    url: '/server/shopper/paotuiFindShopper',
    method: 'get',
    data: params
  })
}
